<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{
            margin-top: 60px;
        }
        .nav{
            background-color: #000;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 60px;
        }
        li{
            float: left;
        }
        
    </style>
</head>
<body>

    <div class="nav">
        <ul>
            <li><a href="">1</a></li>
            <li><a href="">2</a></li>
            <li><a href="">3</a></li>
            <li><a href="">4</a></li>
            <li><a href="">5</a></li>
        </ul>
    </div>
    <div style="height: 1000px;"></div>
</body>
</html>